export const weekList = [
  { value: '1', label: '周一' },
  { value: '2', label: '周二' },
  { value: '3', label: '周三' },
  { value: '4', label: '周四' },
  { value: '5', label: '周五' },
  { value: '6', label: '周六' },
  { value: '7', label: '周日' },
  { value: '8', label: '节假日' }
]
export const rules = {
  name: [
    { required: true, message: '请输入套餐名称', trigger: 'blur' }
  ],
  mealsType: [
    { required: true, message: '请选择套餐类型', trigger: 'change' }
  ],
  nums: [
    { required: true, message: '请输入次数', trigger: 'blur' }
  ],
  giveNums: [
    { required: false, message: '请输入赠送次数', trigger: 'blur' }
  ],
  indate: [
    { required: true, message: '请输入有效天数', trigger: 'blur' }
  ],
  assignValidTime: [
    { required: true, message: '请选择', trigger: 'change' }
  ],
  channel: [
    { required: true, message: '请选择销售渠道', trigger: 'blur' }
  ],
  circulationDay: [
    { required: true, message: '请输入发放数量', trigger: 'blur' }
  ],
  content: [
    { required: true, message: '请输入描述', trigger: 'blur' }
  ],
  price: [
    { required: true, message: '请输入价格', trigger: 'blur' }
  ],
  discountType: [
    { required: true, message: '请选择折扣类型', trigger: 'change' }
  ],
  // saleDateStart: [
  //   { required: true, message: '请选择销售时段开始日期时间', trigger: 'change' }
  // ],
  timeSale: [
    { type: 'array', required: true, message: '请选择销售时段日期时间', trigger: 'change' }
  ],
  saleDateEnd: [
    { required: true, message: '请选择销售时段结束日期时间', trigger: 'change' }
  ],
  checkedVenue: [
    { required: true, message: '请选择场馆', trigger: 'change' }
  ],
  validityType: [
    { required: true, message: '请选择有效期类型', trigger: 'change' }
  ],
  validityTime: [
    { required: true, message: '请选择有效期', trigger: 'change' }
  ],
  validityDays: [
    { required: true, message: '请输入日期', trigger: 'blur' }
  ]
}

export const mealsTypes = [
  { value: '0', label: '门票次卡' },
  { value: '1', label: '门票期限卡' },
  { value: '2', label: '预定次卡' },
  { value: '3', label: '课程预约次卡' },
  { value: '4', label: '课程期限卡' }
]
